package com.bym.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author bym
 * @since 2022-03-28
 */
@Data
@TableName("mall_shipping")
@ApiModel(value = "Shipping对象", description = "")
public class Shipping implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("收货姓名")
    private String receiverName;

    @ApiModelProperty("收货固定电话")
    private String receiverPhone;

    @ApiModelProperty("收货移动电话")
    private String receiverMobile;

    @ApiModelProperty("省份")
    private String receiverProvince;

    @ApiModelProperty("城市")
    private String receiverCity;

    @ApiModelProperty("区/县")
    private String receiverDistrict;

    @ApiModelProperty("详细地址")
    private String receiverAddress;

    @ApiModelProperty("邮编")
    private String receiverZip;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
